{#<!DOCTYPE html>#}
{#<html lang="en">#}
{#<head>#}
{#    <meta charset="UTF-8">#}
{#    <title>Title</title>#}
{#</head>#}
{#<body>#}
{#<form action="" method="post" novalidate>#}
{#    {% csrf_token %}#}
{#    <p>#}
{#        <label for="{{ form_obj1.username.id_for_label }}"> {{ form_obj1.username.label }} :</label>#}
{#         {{ form_obj1.username }}  <span style="color: red">{{ form_obj1.username.errors.0 }}</span>#}
{#    </p>#}
{##}
{#    <p>#}
{#        <label for="{{ form_obj1.password.id_for_label }}"> {{ form_obj1.password.label }} :</label>#}
{#         {{ form_obj1.password }}  <span style="color: red">{{ form_obj1.password.errors.0 }}</span>#}
{#    </p>#}
{##}
{#    <p>#}
{#        <label for="{{ form_obj1.re_password.id_for_label }}"> {{ form_obj1.re_password.label }} :</label>#}
{#         {{ form_obj1.re_password }}  <span style="color: red">{{ form_obj1.re_password.errors.0 }}</span>#}
{#    </p>#}
{##}
{#    <p>#}
{#        <label for="{{ form_obj1.name.id_for_label }}"> {{ form_obj1.name.label }} :</label>#}
{#         {{ form_obj1.name }}  <span style="color: red">{{ form_obj1.name.errors.0 }}</span>#}
{#    </p>#}
{#   <p>#}
{#        <label for="{{ form_obj1.number.id_for_label }}"> {{ form_obj1.number.label }} :</label>#}
{#         {{ form_obj1.number }}  <span style="color: red">{{ form_obj1.number.errors.0 }}</span>#}
{#    </p>#}
{##}
{##}
{#    {{ form_obj1.errors }}#}
{##}
{#    <button>添加</button>#}
{##}
{#</form>#}
{#</body>#}
{#</html>#}
{##}
{##}













{% extends 'muban.html' %}


{% block lis %}

<form action="" method="post" novalidate>
    {% csrf_token %}
    <p>
        <label for="{{ form_obj1.username.id_for_label }}"> {{ form_obj1.username.label }} :</label>
         {{ form_obj1.username }}  <span style="color: red">{{ form_obj1.username.errors.0 }}</span>
    </p>

    <p>
        <label for="{{ form_obj1.password.id_for_label }}"> {{ form_obj1.password.label }} :</label>
         {{ form_obj1.password }}  <span style="color: red">{{ form_obj1.password.errors.0 }}</span>
    </p>

    <p>
        <label for="{{ form_obj1.re_password.id_for_label }}"> {{ form_obj1.re_password.label }} :</label>
         {{ form_obj1.re_password }}  <span style="color: red">{{ form_obj1.re_password.errors.0 }}</span>
    </p>

    <p>
        <label for="{{ form_obj1.name.id_for_label }}"> {{ form_obj1.name.label }} :</label>
         {{ form_obj1.name }}  <span style="color: red">{{ form_obj1.name.errors.0 }}</span>
    </p>
   <p>
        <label for="{{ form_obj1.number.id_for_label }}"> {{ form_obj1.number.label }} :</label>
         {{ form_obj1.number }}  <span style="color: red">{{ form_obj1.number.errors.0 }}</span>
    </p>


    {{ form_obj1.errors }}

    <button>添加</button>

</form>

{% endblock %}

{% block i2 %}
    class='active'
{% endblock %}





